-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mars receipt exception #96
Conversation
#67 closed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! As we discussed, I think this will help us start handling errors in the CLI, so we can continue to iterate on this.
Thanks a lot @Pedram-A-Keyvani! |
I just tested the code, and triggered an error by doing a submission twice using the same data:
Just as a note, the current MARS CLI still dumps a updated ISA JSON with the BioSamples accessions, which is I think a desired behavior. |
Showing errors in MARS receipt in the happening of:
MarsReceiptException
that are custom errors from the APIException
for catching all the other errorsCAUTION: The receipt errors might contain technical information